package cn.gd.mapper.systemAdministration.UploadSettings;

import cn.gd.pojo.UploadSettings;

public interface UploadSettingsMapper {
    /**
     * 查询是否已经设置了上传文件
     * @return
     */
    UploadSettings queryUploadSettings();

    /**
     * 修改上传文件设置
     * @param uploadSettings
     * @return
     */
    int updateUploadSettings(UploadSettings uploadSettings);

    /**
     * 新增上传文件设置
     * @param uploadSettings
     * @return
     */
    int addUploadSettings(UploadSettings uploadSettings);
}
